<?php 
	include '../../db.php';
	$customerID = $_POST['targetCustomer'];
	$cName = $_POST['cName'];
	$cJobTitle = $_POST['cJobTitle'];
	$cLocation = $_POST['cLocation'];
	$cPO = $_POST['cPO'];
	$cEmail = $_POST['cEmail'];
	$cNumber = $_POST['cNumber'];
	$cCompName = $_POST['cCompName'];
	
	$sql = "UPDATE customers SET cName='$cName', cJobTitle='$cJobTitle', cLocation='$cLocation', cPO='$cPO', cEmail='$cEmail', cNumber='$cNumber', cCompName='$cCompName' WHERE customerID='$customerID'";
	@mysql_query($sql);	
	header("Location:../../led-master.php?mngr=cust&subpg=edit&action=custeditsuccess");	
	
?>